<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<html>
<head>
<title><s:property value="#session.titleDesc"/></title>
<%@ include file="/common/meta.jsp"%>
<script type="text/javascript">
	function showOrHide(targetId){
		targetId = "#" + targetId;
		var obj = $(targetId);
		if(obj.attr("isShow") == "show"){
			obj.hide();
			obj.attr("isShow", "hide");
		}else{
			obj.show();
			obj.attr("isShow", "show");
		}
	}
</script>
</head>
<body>
<%@ include file="/common/center-top.jsp"%>	
<!-- 网页主显示区，填写表单 -->
<s:form action="/rule/rule!addRule.action" name="mainForm" id="mainForm">
<input type="hidden" name="ruleVo.websiteId" value="${website.id}"/>
<div class="titleDiv" onclick="showOrHide('baseInfoConfig');" title="点击收缩或者展开">基本信息设置</div>
<table id="baseInfoConfig" isShow="show" class="tableFrom" align="center" cellpadding="0" cellspacing="1">
	<tr>
		<td class="tdLabel">站点名称</td>
		<td class="tdInput">${website.name}</td>
	</tr>
	<tr>
		<td class="tdLabel">站点网址</td>
		<td class="tdInput">${website.url}</td>
	</tr>
	<tr>
		<td class="tdLabel">规则描述</td>
		<td class="tdInput"><s:textarea name="ruleVo.ruleDesc"></s:textarea></td>
	</tr>
</table>
<div class="titleDiv" onclick="showOrHide('dpUrlConfig');" title="点击收缩或者展开">详情页链接配置</div>
<table id="dpUrlConfig" isShow="show" class="tableFrom" align="center" cellpadding="0" cellspacing="1">
	<tr>
		<td class="tdLabel">搜索表达式</td>
		<td class="tdInput"><s:textarea name="ruleVo.dpUrl.xpath"></s:textarea></td>
	</tr>
	<tr>
		<td class="tdLabel">网址前缀</td>
		<td class="tdInput"><s:textfield name="ruleVo.dpUrl.http"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">被替换字符串</td>
		<td class="tdInput"><s:textfield name="ruleVo.dpUrl.replaceFrom"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">替换字符串</td>
		<td class="tdInput"><s:textfield name="ruleVo.dpUrl.replaceTo"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">分割字符串</td>
		<td class="tdInput"><s:textfield name="ruleVo.dpUrl.splitStr"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">取第几个分割结果</td>
		<td class="tdInput"><s:textfield name="ruleVo.dpUrl.splitIndex"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">截取起始字符串</td>
		<td class="tdInput"><s:textfield name="ruleVo.dpUrl.subStrFrom"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">截取结束字符串</td>
		<td class="tdInput"><s:textfield name="ruleVo.dpUrl.subStrTo"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">截取起始位置</td>
		<td class="tdInput"><s:textfield name="ruleVo.dpUrl.subIndexFrom"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">截取结束位置</td>
		<td class="tdInput"><s:textfield name="ruleVo.dpUrl.subIndexTo"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">解析顺序</td>
		<td class="tdInput">
			http-replace-subStr-split 代表  前缀-替换-截取-分割
			<s:textfield name="ruleVo.dpUrl.paseOrder"></s:textfield>
		</td>
	</tr>
</table>
<div class="titleDiv" onclick="showOrHide('nextPageConfig');" title="点击收缩或者展开">下一页链接配置</div>
<table id="nextPageConfig" isShow="show" class="tableFrom" align="center" cellpadding="0" cellspacing="1">
	<tr>
		<td class="tdLabel">搜索表达式</td>
		<td class="tdInput"><s:textarea name="ruleVo.nextPage.xpath"></s:textarea></td>
	</tr>
	<tr>
		<td class="tdLabel">网址前缀</td>
		<td class="tdInput"><s:textfield name="ruleVo.nextPage.http"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">被替换字符串</td>
		<td class="tdInput"><s:textfield name="ruleVo.nextPage.replaceFrom"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">替换字符串</td>
		<td class="tdInput"><s:textfield name="ruleVo.nextPage.replaceTo"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">分割字符串</td>
		<td class="tdInput"><s:textfield name="ruleVo.nextPage.splitStr"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">取第几个分割结果</td>
		<td class="tdInput"><s:textfield name="ruleVo.nextPage.splitIndex"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">截取起始字符串</td>
		<td class="tdInput"><s:textfield name="ruleVo.nextPage.subStrFrom"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">截取结束字符串</td>
		<td class="tdInput"><s:textfield name="ruleVo.nextPage.subStrTo"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">截取起始位置</td>
		<td class="tdInput"><s:textfield name="ruleVo.nextPage.subIndexFrom"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">截取结束位置</td>
		<td class="tdInput"><s:textfield name="ruleVo.nextPage.subIndexTo"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">解析顺序</td>
		<td class="tdInput">
			http-replace-subStr-split 代表  前缀-替换-截取-分割
			<s:textfield name="ruleVo.nextPage.paseOrder"></s:textfield>
		</td>
	</tr>
</table>
<div class="titleDiv" onclick="showOrHide('productNameConfig');" title="点击收缩或者展开">产品名称配置</div>
<table id="productNameConfig" isShow="show" class="tableFrom" align="center" cellpadding="0" cellspacing="1">
	<tr>
		<td class="tdLabel">搜索表达式</td>
		<td class="tdInput"><s:textarea name="ruleVo.productName.xpath"></s:textarea></td>
	</tr>
</table>
<div class="titleDiv" onclick="showOrHide('productCodeConfig');" title="点击收缩或者展开">产品编码配置</div>
<table id="productCodeConfig" isShow="show" class="tableFrom" align="center" cellpadding="0" cellspacing="1">
	<tr>
		<td class="tdLabel">搜索表达式</td>
		<td class="tdInput">如果为空，会解析本产品链接。<s:textarea name="ruleVo.productCode.xpath"></s:textarea></td>
	</tr>
	<tr>
		<td class="tdLabel">取第几个元素</td>
		<td class="tdInput"><s:textfield name="ruleVo.productCode.objIndex"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">被替换字符串</td>
		<td class="tdInput"><s:textfield name="ruleVo.productCode.replaceFrom"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">替换字符串</td>
		<td class="tdInput"><s:textfield name="ruleVo.productCode.replaceTo"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">分割字符串</td>
		<td class="tdInput"><s:textfield name="ruleVo.productCode.splitStr"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">取第几个分割结果</td>
		<td class="tdInput"><s:textfield name="ruleVo.productCode.splitIndex"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">截取起始字符串</td>
		<td class="tdInput"><s:textfield name="ruleVo.productCode.subStrFrom"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">截取结束字符串</td>
		<td class="tdInput"><s:textfield name="ruleVo.productCode.subStrTo"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">截取起始位置</td>
		<td class="tdInput"><s:textfield name="ruleVo.productCode.subIndexFrom"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">截取结束位置</td>
		<td class="tdInput"><s:textfield name="ruleVo.productCode.subIndexTo"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">解析顺序</td>
		<td class="tdInput">
			http-replace-subStr-split 代表  前缀-替换-截取-分割
			<s:textfield name="ruleVo.productCode.paseOrder"></s:textfield>
		</td>
	</tr>
</table>
<div class="titleDiv" onclick="showOrHide('productImageConfig');" title="点击收缩或者展开">产品图片配置</div>
<table id="productImageConfig" isShow="show" class="tableFrom" align="center" cellpadding="0" cellspacing="1">
	<tr>
		<td class="tdLabel">搜索表达式</td>
		<td class="tdInput"><s:textarea name="ruleVo.productImage.xpath"></s:textarea></td>
	</tr>
	<tr>
		<td class="tdLabel">取第几个元素</td>
		<td class="tdInput"><s:textfield name="ruleVo.productImage.objIndex"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">二级搜索表达式</td>
		<td class="tdInput"><s:textarea name="ruleVo.productImage.childNodes"></s:textarea></td>
	</tr>
	<tr>
		<td class="tdLabel">网址前缀</td>
		<td class="tdInput"><s:textfield name="ruleVo.productImage.http"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">被替换字符串</td>
		<td class="tdInput"><s:textfield name="ruleVo.productImage.replaceFrom"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">替换字符串</td>
		<td class="tdInput"><s:textfield name="ruleVo.productImage.replaceTo"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">分割字符串</td>
		<td class="tdInput"><s:textfield name="ruleVo.productImage.splitStr"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">取第几个分割结果</td>
		<td class="tdInput"><s:textfield name="ruleVo.productImage.splitIndex"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">截取起始字符串</td>
		<td class="tdInput"><s:textfield name="ruleVo.productImage.subStrFrom"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">截取结束字符串</td>
		<td class="tdInput"><s:textfield name="ruleVo.productImage.subStrTo"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">截取起始位置</td>
		<td class="tdInput"><s:textfield name="ruleVo.productImage.subIndexFrom"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">截取结束位置</td>
		<td class="tdInput"><s:textfield name="ruleVo.productImage.subIndexTo"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">解析顺序</td>
		<td class="tdInput">
			http-replace-subStr-split 代表  前缀-替换-截取-分割
			<s:textfield name="ruleVo.productImage.paseOrder"></s:textfield>
		</td>
	</tr>
</table>
<div class="titleDiv" onclick="showOrHide('productPriceConfig');" title="点击收缩或者展开">产品价格配置</div>
<table id="productPriceConfig" isShow="show" class="tableFrom" align="center" cellpadding="0" cellspacing="1">
	<tr>
		<td class="tdLabel">搜索表达式</td>
		<td class="tdInput"><s:textarea name="ruleVo.productPrice.xpath"></s:textarea></td>
	</tr>
	<tr>
		<td class="tdLabel">取第几个元素</td>
		<td class="tdInput"><s:textfield name="ruleVo.productPrice.objIndex"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">被替换字符串</td>
		<td class="tdInput"><s:textfield name="ruleVo.productPrice.replaceFrom"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">替换字符串</td>
		<td class="tdInput"><s:textfield name="ruleVo.productPrice.replaceTo"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">分割字符串</td>
		<td class="tdInput"><s:textfield name="ruleVo.productPrice.splitStr"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">取第几个分割结果</td>
		<td class="tdInput"><s:textfield name="ruleVo.productPrice.splitIndex"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">截取起始字符串</td>
		<td class="tdInput"><s:textfield name="ruleVo.productPrice.subStrFrom"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">截取结束字符串</td>
		<td class="tdInput"><s:textfield name="ruleVo.productPrice.subStrTo"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">截取起始位置</td>
		<td class="tdInput"><s:textfield name="ruleVo.productPrice.subIndexFrom"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">截取结束位置</td>
		<td class="tdInput"><s:textfield name="ruleVo.productPrice.subIndexTo"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">解析顺序</td>
		<td class="tdInput">
			http-replace-subStr-split 代表  前缀-替换-截取-分割
			<s:textfield name="ruleVo.productPrice.paseOrder"></s:textfield>
		</td>
	</tr>
</table>
<div class="titleDiv" onclick="showOrHide('productPriceUnitConfig');" title="点击收缩或者展开">产品价格单位配置</div>
<table id="productPriceUnitConfig" isShow="show" class="tableFrom" align="center" cellpadding="0" cellspacing="1">
	<tr>
		<td class="tdLabel">搜索表达式</td>
		<td class="tdInput"><s:textarea name="ruleVo.productPriceUnit.xpath"></s:textarea></td>
	</tr>
	<tr>
		<td class="tdLabel">取第几个元素</td>
		<td class="tdInput"><s:textfield name="ruleVo.productPriceUnit.objIndex"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">被替换字符串</td>
		<td class="tdInput"><s:textfield name="ruleVo.productPriceUnit.replaceFrom"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">替换字符串</td>
		<td class="tdInput"><s:textfield name="ruleVo.productPriceUnit.replaceTo"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">分割字符串</td>
		<td class="tdInput"><s:textfield name="ruleVo.productPriceUnit.splitStr"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">取第几个分割结果</td>
		<td class="tdInput"><s:textfield name="ruleVo.productPriceUnit.splitIndex"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">截取起始字符串</td>
		<td class="tdInput"><s:textfield name="ruleVo.productPriceUnit.subStrFrom"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">截取结束字符串</td>
		<td class="tdInput"><s:textfield name="ruleVo.productPriceUnit.subStrTo"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">截取起始位置</td>
		<td class="tdInput"><s:textfield name="ruleVo.productPriceUnit.subIndexFrom"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">截取结束位置</td>
		<td class="tdInput"><s:textfield name="ruleVo.productPriceUnit.subIndexTo"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">解析顺序</td>
		<td class="tdInput">
			http-replace-subStr-split 代表  前缀-替换-截取-分割
			<s:textfield name="ruleVo.productPriceUnit.paseOrder"></s:textfield>
		</td>
	</tr>
</table>
<div class="titleDiv" onclick="showOrHide('productWeightConfig');" title="点击收缩或者展开">产品重量配置</div>
<table id="productWeightConfig" isShow="show" class="tableFrom" align="center" cellpadding="0" cellspacing="1">
	<tr>
		<td class="tdLabel">搜索表达式</td>
		<td class="tdInput"><s:textarea name="ruleVo.productWeight.xpath"></s:textarea></td>
	</tr>
	<tr>
		<td class="tdLabel">取第几个元素</td>
		<td class="tdInput"><s:textfield name="ruleVo.productWeight.objIndex"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">被替换字符串</td>
		<td class="tdInput"><s:textfield name="ruleVo.productWeight.replaceFrom"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">替换字符串</td>
		<td class="tdInput"><s:textfield name="ruleVo.productWeight.replaceTo"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">分割字符串</td>
		<td class="tdInput"><s:textfield name="ruleVo.productWeight.splitStr"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">取第几个分割结果</td>
		<td class="tdInput"><s:textfield name="ruleVo.productWeight.splitIndex"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">截取起始字符串</td>
		<td class="tdInput"><s:textfield name="ruleVo.productWeight.subStrFrom"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">截取结束字符串</td>
		<td class="tdInput"><s:textfield name="ruleVo.productWeight.subStrTo"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">截取起始位置</td>
		<td class="tdInput"><s:textfield name="ruleVo.productWeight.subIndexFrom"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">截取结束位置</td>
		<td class="tdInput"><s:textfield name="ruleVo.productWeight.subIndexTo"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">解析顺序</td>
		<td class="tdInput">
			http-replace-subStr-split 代表  前缀-替换-截取-分割
			<s:textfield name="ruleVo.productWeight.paseOrder"></s:textfield>
		</td>
	</tr>
</table>
<div class="titleDiv" onclick="showOrHide('productWeightUnitConfig');" title="点击收缩或者展开">产品重量单位配置</div>
<table id="productWeightUnitConfig" isShow="show" class="tableFrom" align="center" cellpadding="0" cellspacing="1">
	<tr>
		<td class="tdLabel">搜索表达式</td>
		<td class="tdInput"><s:textarea name="ruleVo.productWeightUnit.xpath"></s:textarea></td>
	</tr>
	<tr>
		<td class="tdLabel">取第几个元素</td>
		<td class="tdInput"><s:textfield name="ruleVo.productWeightUnit.objIndex"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">被替换字符串</td>
		<td class="tdInput"><s:textfield name="ruleVo.productWeightUnit.replaceFrom"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">替换字符串</td>
		<td class="tdInput"><s:textfield name="ruleVo.productWeightUnit.replaceTo"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">分割字符串</td>
		<td class="tdInput"><s:textfield name="ruleVo.productWeightUnit.splitStr"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">取第几个分割结果</td>
		<td class="tdInput"><s:textfield name="ruleVo.productWeightUnit.splitIndex"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">截取起始字符串</td>
		<td class="tdInput"><s:textfield name="ruleVo.productWeightUnit.subStrFrom"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">截取结束字符串</td>
		<td class="tdInput"><s:textfield name="ruleVo.productWeightUnit.subStrTo"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">截取起始位置</td>
		<td class="tdInput"><s:textfield name="ruleVo.productWeightUnit.subIndexFrom"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">截取结束位置</td>
		<td class="tdInput"><s:textfield name="ruleVo.productWeightUnit.subIndexTo"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">解析顺序</td>
		<td class="tdInput">
			http-replace-subStr-split 代表  前缀-替换-截取-分割
			<s:textfield name="ruleVo.productWeightUnit.paseOrder"></s:textfield>
		</td>
	</tr>
</table>
<div class="titleDiv" onclick="showOrHide('productAttributeConfig');" title="点击收缩或者展开">产品属性配置</div>
<table id="productAttributeConfig" isShow="show" class="tableFrom" align="center" cellpadding="0" cellspacing="1">
	<tr>
		<td class="tdLabel">搜索表达式</td>
		<td class="tdInput"><s:textarea name="ruleVo.productAttribute.xpath"></s:textarea></td>
	</tr>
	<tr>
		<td class="tdLabel">取第几个元素</td>
		<td class="tdInput"><s:textfield name="ruleVo.productAttribute.objIndex"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">被替换字符串</td>
		<td class="tdInput"><s:textfield name="ruleVo.productAttribute.replaceFrom"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">替换字符串</td>
		<td class="tdInput"><s:textfield name="ruleVo.productAttribute.replaceTo"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">分割字符串</td>
		<td class="tdInput"><s:textfield name="ruleVo.productAttribute.splitStr"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">取第几个分割结果</td>
		<td class="tdInput"><s:textfield name="ruleVo.productAttribute.splitIndex"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">截取起始字符串</td>
		<td class="tdInput"><s:textfield name="ruleVo.productAttribute.subStrFrom"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">截取结束字符串</td>
		<td class="tdInput"><s:textfield name="ruleVo.productAttribute.subStrTo"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">截取起始位置</td>
		<td class="tdInput"><s:textfield name="ruleVo.productAttribute.subIndexFrom"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">截取结束位置</td>
		<td class="tdInput"><s:textfield name="ruleVo.productAttribute.subIndexTo"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">解析顺序</td>
		<td class="tdInput">
			http-replace-subStr-split 代表  前缀-替换-截取-分割
			<s:textfield name="ruleVo.productAttribute.paseOrder"></s:textfield>
		</td>
	</tr>
</table>
<div class="titleDiv" onclick="showOrHide('productAttributeValueConfig');" title="点击收缩或者展开">产品属性值配置</div>
<table id="productAttributeValueConfig" isShow="show" class="tableFrom" align="center" cellpadding="0" cellspacing="1">
	<tr>
		<td class="tdLabel">搜索表达式</td>
		<td class="tdInput"><s:textarea name="ruleVo.productAttributeValue.xpath"></s:textarea></td>
	</tr>
	<tr>
		<td class="tdLabel">取第几个元素</td>
		<td class="tdInput"><s:textfield name="ruleVo.productAttributeValue.objIndex"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">二级搜索表达式</td>
		<td class="tdInput"><s:textarea name="ruleVo.productAttributeValue.childNodes"></s:textarea></td>
	</tr>
	<tr>
		<td class="tdLabel">被替换字符串</td>
		<td class="tdInput"><s:textfield name="ruleVo.productAttributeValue.replaceFrom"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">替换字符串</td>
		<td class="tdInput"><s:textfield name="ruleVo.productAttributeValue.replaceTo"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">分割字符串</td>
		<td class="tdInput"><s:textfield name="ruleVo.productAttributeValue.splitStr"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">取第几个分割结果</td>
		<td class="tdInput"><s:textfield name="ruleVo.productAttributeValue.splitIndex"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">截取起始字符串</td>
		<td class="tdInput"><s:textfield name="ruleVo.productAttributeValue.subStrFrom"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">截取结束字符串</td>
		<td class="tdInput"><s:textfield name="ruleVo.productAttributeValue.subStrTo"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">截取起始位置</td>
		<td class="tdInput"><s:textfield name="ruleVo.productAttributeValue.subIndexFrom"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">截取结束位置</td>
		<td class="tdInput"><s:textfield name="ruleVo.productAttributeValue.subIndexTo"></s:textfield></td>
	</tr>
	<tr>
		<td class="tdLabel">解析顺序</td>
		<td class="tdInput">
			http-replace-subStr-split 代表  前缀-替换-截取-分割
			<s:textfield name="ruleVo.productAttributeValue.paseOrder"></s:textfield>
		</td>
	</tr>
</table>
<div class="titleDiv" onclick="showOrHide('productDescriptionConfig');" title="点击收缩或者展开">产品描述配置</div>
<table id="productDescriptionConfig" isShow="show" class="tableFrom" align="center" cellpadding="0" cellspacing="1">
	<tr>
		<td class="tdLabel">搜索表达式</td>
		<td class="tdInput"><s:textarea name="ruleVo.productDescription.xpath"></s:textarea></td>
	</tr>
	<tr>
		<td class="tdLabel">网址前缀</td>
		<td class="tdInput"><s:textfield name="ruleVo.productDescription.http"></s:textfield></td>
	</tr>
</table>
</s:form>
<img src="${ctp}/images/tj.gif" onclick="mainForm.submit();" style="cursor: pointer;"/>
<%@ include file="/common/center-down.jsp"%>				
</body>
</html>